#ifndef QWEBSTATION_H
#define QWEBSTATION_H

#include "widget/qwsliststations.h"
#include "widget/qwsdebugdock.h"
#include "widget/qwscentral.h"
#include "widget/qwscontroldock.h"
#include "widget/qwsaddradio.h"
#include "core/radioinfo.h"

class QtGui;
class phonon;

class QWebStation : public QMainWindow
{
    Q_OBJECT

public:
    QWebStation(QWidget *parent = 0);
    ~QWebStation();



private slots:
	void newStation();
	void radioSel(RadioInfo radio_sel);
	void playStation();
	void pauseStation();
	void stopStation();

private:
    QSettings *settings;

	void createActions();
	void createQWSMenuBar();
	void createQWSToolBar();
	void createDockQWSControl();
	void createCentralSpace();

	QWSCentral *centralSpace;
	QDockWidget *dockQWSControl;
	QWSControlDock *controlDock;
	QWSListStations *addStationWdg;
	QWSAddRadio *addRadioDialog;

	QMenu *menu;
	QToolBar *stationToolBar;

	QAction *newAct;
	QAction *quitAct;

	RadioInfo radio;
	QProcess *mplayer_process;

	QString program;
};

#endif // QWEBSTATION_H
